package com.hub.realtime.resource.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hub.realtime.common.core.domain.model.ClusterInfo;
import com.hub.realtime.resource.domain.ResApplication;
import com.hub.realtime.resource.dto.input.ApplicationQueryParam;

/**
 * 项目管理表Service接口
 *
 * @author wupeng
 * @date 2022-01-05
 */
public interface IResApplicationService extends IService<ResApplication>
{

    Page<ResApplication> list(ApplicationQueryParam param);

    int saveInfo(ResApplication application);

    int deleteInfos(Long[] ids);

    List<ResApplication>getAppList();

    ClusterInfo getClusterInfoByAppId(Long appId);
    String getCurrentFlinkVersion(Long appId);

    String getFlinkHome(Long appId);

}

